package com.sjn.user.service;

import com.sjn.user.config.FeignConfig;
import com.sjn.user.config.HystrixConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.FeignClientsConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: sjn
 * @Data: 2021/6/16 9:32
 */
@FeignClient(value = "manage", configuration = FeignConfig.class, fallback = HystrixConfig.class)
public interface FeignService {

    @RequestMapping(value = "/test/sqlTest")
    Object sqlTest();

}
